package com.neuedu.redis.config;

import lombok.Getter;

/**
 * @author root
 */
@SuppressWarnings("ALL")
@Getter
public enum ResultCode {
    //asda
    NOHANDLER(404,"请求地址错误"),
    //asdfasf
    SUCCESS(200,"操作成功"),
    //asdf
    FAILED(500,"操作失败"),
    //asdfsafs
    NOTOKEN(401,"未登录或登录已超时"),
    //sadfsafd
    NOPERMISS(403,"无操作权限"),
    ;

    private Integer code;
    private String message;

    ResultCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }



}